import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter)
export default new VueRouter({
    mode:"hash",
    routes:[
        {
            path:"/index",
            name:"index",
            component:()=>import("@/view/Index.vue"),
        },

        {
            path:"/",
            redirect:{
                path:"/index"
            }
        }
    ]
})